xen: rework `checkpolicy` detection when using "randconfig"
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 Sep 2021 09:58:15 +0000 (11:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 29 Sep 2021 09:58:15 +0000 (11:58 +0200)
commit0b000a2ce8131df442d6444d2d3e0a8c7f9a1cf5
treea5b56c4cb3f74d5c5b8a697af44f01947278bb86
parentcae8e262727bd5763210dd0e7ae314b39fde998b
xen: rework `checkpolicy` detection when using "randconfig"

This patch allows to easily add more override which depends on the
environment.

Also, move the check out of Config.mk and into xen/ build system.
Nothing in tools/ is using that information as it's done by
./configure.

We named the new file ".allconfig.tmp" as ".*.tmp" are already ignored
via .gitignore.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Config.mk
xen/Makefile